#ifndef CAMPAIGNMODELLINGFORM_H
#define CAMPAIGNMODELLINGFORM_H



#include "ModellingFormInterface.h"



#include <ItemModel.h>



#include <QWidget>



namespace Ui {
    class CampaignModellingForm;
}



class CampaignModellingForm : public QWidget, public ModellingFormInterface
{
    Q_OBJECT

public:

    CampaignModellingForm(QWidget *parent = 0);
    CampaignModellingForm(ItemModel* model, QWidget *parent = 0);
    ~CampaignModellingForm();


    virtual ItemModel* model() const;
    virtual void setModel(ItemModel* model);


private:

    void initialize();

    Ui::CampaignModellingForm *ui;
    ItemModel* m_model;


private slots:

    void on_treeViewSkills_activated(QModelIndex index);
    void on_treeViewSkills_clicked(QModelIndex index);
    void on_pushButtonName_clicked();

};



#endif // CAMPAIGNMODELLINGFORM_H
